package testing2;

import java.awt.Container;
import java.awt.Graphics;
import java.awt.Rectangle;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;
import java.awt.event.MouseEvent;
import java.awt.event.MouseListener;
import java.awt.event.MouseMotionListener;

import javax.swing.JComponent;

import utilities.display.iface.Drawable;

public class Jet extends JComponent implements KeyListener, 
											   MouseListener, 
											   MouseMotionListener,
											   Drawable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = -4133331680649993293L;
	
	protected Rectangle ship = null;
	protected int SHIP_LENGTH = 30;
	
	protected Rectangle cursor = null;
	protected int CURSOR_LENGTH = 10;

	public void drawMe(Graphics g) 
	{
	}

	public void mouseDragged(MouseEvent e)
	{
	}

	public void mouseMoved(MouseEvent e) 
	{
		Container c = getTopLevelAncestor();
		
		if(c != null)
		{
			int cx = e.getX() - c.getInsets().left;
			int cy = e.getY() - c.getInsets().right;
		}
	}

	public void mouseClicked(MouseEvent e)
	{
	}

	public void mousePressed(MouseEvent e) 
	{
	}

	public void mouseReleased(MouseEvent e) 
	{
	}

	public void mouseEntered(MouseEvent e) 
	{
	}

	public void mouseExited(MouseEvent e) 
	{
	}

	public void keyTyped(KeyEvent e) 
	{
	}

	public void keyPressed(KeyEvent e) 
	{
	}

	public void keyReleased(KeyEvent e) 
	{
	}
}
